<template>
  <div>

  </div>
</template>
<script>
import { mapGetters } from "vuex";
export default {
  mounted(){
    this.$store.dispatch("LogOut").then(() => {
        //location.reload(); // 为了重新实例化vue-router对象 避免bug
        window.location="/";
      });
  }
}
</script>